package io.xxx.mario.task;

public enum TaskStatus {

    NEW("新任务"),

    INITIALIZING("初始化中"),

    RUNNABLE("待执行"),

    RUNNING("执行中"),

    WAITING("暂停中"),

    TERMINATED("已结束");

    private final String name;

    TaskStatus(String name) {
        this.name = name;
    }

    public String getName() {
        return this.name;
    }
}
